package com.project.service;

import com.project.bean.UserBean;
import com.project.bean.CutPageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * @Title: IUserService
 * @Package: com.project.service
 * @Description:
 * @Author: Liang-Xie
 * @Date: 2022/7/13 - 17:28
 */
@SuppressWarnings("all")
public interface IUserService {
    public void add(UserBean userBean);
    public void del(Integer id);
    public void update(Integer id,String password,String rank);
    public UserBean check(String name,String password);
    public UserBean findById(Integer id);
    public List<UserBean>findByItem(String name, LocalDate startBirthday,LocalDate endBirthday);
    public CutPageBean<UserBean> cutByItem(int pageNO, String name, LocalDate startBirthday, LocalDate endBirthday);


}
